package com.lyh.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lyh.common.core.domain.BasePageEntity;
import com.lyh.common.enums.PaymentStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lyh.common.annotation.Excel;
import com.lyh.common.core.domain.BaseEntity;

/**
 * 支付记录对象 lyh_recharge_record
 *
 * @author ruoyi
 * @date 2023-04-27
 */
@Data
@TableName("lyh_recharge_record")
public class RechargeRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId
    private Long id;

    /** 用户id */
    private Long userId;

    @Excel(name = "订单号")
    private String orderId;

    @TableField(exist = false)
    @Excel(name = "用户id")
    private String memberId;
    /** 充值金额 */
    @Excel(name = "充值金额")
    private BigDecimal rechargeAmount;

    /** 充值类型 */
    @Excel(name = "充值类型")
    @ApiModelProperty(value = "充值类型" )
    private String rechargeType;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String paymentMethod;

    /** 充值时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "充值时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date rechargeTime;



    @TableField(exist = false)
    @Excel(name = "充值状态")
    private String statusName;

    @ApiModelProperty(value = "充值开始时间")
    @TableField(exist = false)
    private String rechargeTimeBegin;

    @ApiModelProperty(value = "充值结束时间")
    @TableField(exist = false)
    private String rechargeTimeEnd;

    private String paymentStatus;

    @TableField(exist = false)
    private List<String> list;


}
